package com.nabi.library.contents.elements.segment
{
	import com.yzi.core.collection.LinkedNode;
	
	public class Segment extends LinkedNode
	{
		protected var m_commands:Vector.<int>;
		protected var m_points:Vector.<Number>;
		
		public function Segment($points:Vector.<Number>)
		{
			super($points);
			m_commands = new Vector.<int>();
			m_points = $points;
		}
		
		public function GetCommands(): Vector.<int> { return m_commands; }
		
		public function GetPoints(): Vector.<Number> { return m_points; }
	}
}